# Get the Google EMM Policy details for a specific device.

Endpoint: GET /v2/devices/{deviceId}/google-accounts/policy/
Version: 1.0.0

## Path parameters:

  - `deviceId` (string, required)
    ID of the device for which to retrieve the Google EMM policy

## Response 200 fields (application/json):

  - `android_id` (string)
    Unique identifier for the Android device.

  - `management_type` (string)
    The management type of the device (e.g., managedDevice).

  - `policy` (object)

  - `policy.auto_update_policy` (string)
    Defines the auto-update policy for the device.

  - `policy.device_report_policy` (string)
    Policy for device report generation.

  - `policy.product_availability_policy` (string)
    Defines the product availability policy.

  - `policy.product_policy` (array)

  - `policy.product_policy.auto_update_mode` (string)
    Mode of auto-updating the product.

  - `policy.product_policy.product_id` (string)
    Unique identifier for the product.

  - `policy.product_policy.auto_install_policy` (object)

  - `policy.product_policy.auto_install_policy.auto_install_constraint` (array)
    Constraints for auto-installing the product.

  - `policy.product_policy.auto_install_policy.auto_install_constraint.charging_state_constraint` (string)
    Constraint on the device's charging state for installation.

  - `policy.product_policy.auto_install_policy.auto_install_constraint.device_idle_state_constraint` (string)
    Constraint on the device's idle state for installation.

  - `policy.product_policy.auto_install_policy.auto_install_constraint.network_type_constraint` (string)
    Network type required for installation.

  - `policy.product_policy.auto_install_policy.auto_install_mode` (string)
    Mode for auto-installation.

  - `policy.product_policy.auto_install_policy.auto_install_priority` (integer)
    Priority of the auto-installation.

  - `policy.product_policy.managed_configuration` (object)

  - `policy.product_policy.managed_configuration.configuration_variables` (object)
    Variables used for managed configurations.

  - `policy.product_policy.managed_configuration.configuration_variables.mcm_id` (string)
    MCM ID required for configuration management.
    Example: "00982462290877382272"

  - `policy.product_policy.managed_configuration.configuration_variables.variable_set` (array)
    Set of configuration variables and their values.

  - `policy.product_policy.managed_configuration.configuration_variables.variable_set.placeholder` (string)
    Placeholder key for configuration variable.
    Example: "$emailaddress$"

  - `policy.product_policy.managed_configuration.configuration_variables.variable_set.user_value` (string)
    User-provided value for the placeholder.
    Example: "user@example.com"

  - `policy.product_policy.managed_configuration.kind` (string)
    Type of managed configuration.
    Example: "androidenterprise#managedConfiguration"

## Response 400 fields (application/json):

  - `code` (integer, required)

  - `message` (string, required)

  - `content` (object)

## Response 401 fields (application/json):

  - `code` (integer, required)

  - `message` (string, required)

  - `content` (object)

## Response 404 fields (application/json):

  - `code` (integer, required)

  - `message` (string, required)

  - `content` (object)

## Response 500 fields (application/json):

  - `code` (integer, required)

  - `message` (string, required)

  - `content` (object)


